<%@ include file="IncludeHeader.jsp" %>

<title>pandabay - Auktionshaus</title> </head>
<body>
<div class="filter" align="left"><a href="LoginSuccess.jsp">Mein Konto</a> | <a href="AuctionListServlet?category=all">Alle Auktionen</a></div>
<h1>Meine Auktionen </h1>
${message}
    <c:forEach var="auction" items="${auctions}">
    	<div class="auction_block fourth">
    		<div class="auction_block_inner">
    			<b><c:out value="${auction.name}"/></b><br/>
    			<i><c:out value="${auction.category}"/></i><br/><br/>
    			Gebot: 	<c:if test="${(auction.startPrice > auction.highestBid)}">${(auction.startPrice)} &euro;</c:if>
    					<c:if test="${(auction.startPrice < auction.highestBid)}">${(auction.highestBid)} &euro;</c:if>  
    			<br/><br/>
    			<a href="AuctionDetailServlet?id=${auction.auction_id}">Details</a>
    		</div>
    	</div>
    </c:forEach>
    <br/><br/>
</body>
</html>